/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
 This file is licensed under the Affero General Public License version 3 or later.
 See the COPYING-README file. */

#sharedialog {
 	background:#eee;
 	border-bottom-left-radius:1em;
 	border-bottom-right-radius:1em;
 	box-shadow:0 1px 1px #777;
 	display:block;
 	margin-right:7em;
 	position:absolute;
 	right:0;
 	width:40em;
 	z-index:3;
 	padding:1em 2em 1em;
   text-align:left;
   margin-top: 10px;
   font-weight: normal; 
   font-size: 1em;
}

#sharedialog input[type="text"],#sharedialog input[type="password"] {
    width:96%;
}

#sharedialog .shareWith {
   margin-bottom: 10px; 
}

#sharedialog .shareWith div:first-child {
   margin-bottom: 10px; 
}

#sharedialog .shareWith input {
   width: 70%; 
}

#sharedialog .shareWith .dropdown {
   float: right; 
   padding-top: 5px; 
   padding-right: 50px;
}

#sharedialog #shareWithTitle {
 	padding:.5em .5em 0 0;
   display:none;
 	border-bottom:1px solid #ddd;
}

#sharedialog #shareWithList {
 	list-style-type:none;
 	padding:0 0 0em 0;
   margin: 0px 0px 2px 0px;
}

#sharedialog #shareWithList li {
   border-bottom: 1px solid #ddd;
   padding: .5em 0;
   margin-top: .3em;
   height: 28px;
}
 
#sharedialog #shareWithList li:first-child {
	 white-space:normal;
}

#sharedialog #shareWithList .cruds {
	 margin-left:-10px;
}

#sharedialog #shareWithList .unshare img, #shareWithList .showCruds img {
	vertical-align:text-bottom; /* properly align icons */
}

#sharedialog #shareWithList .displayname {
   padding-left: 24px;
   vertical-align:middle; 
   height: 100%;
   width: 12em; 
   float:left;
   
}

#sharedialog #shareWithList .subaccount {
   background: transparent url("/images/3/subaccount.png") no-repeat top left; 
}

#sharedialog #shareWithList .group {
   background: transparent url("/images/3/group.png") no-repeat top left; 
}

#sharedialog #shareWithList .dropdown, #sharedialog #settings .dropdown {
   display: inline-block;
   float:left; 
}

#sharedialog label {
 	font-weight:400;
}

#sharedialog input[type="checkbox"] {
 	margin:3px .2em 0 0;
}

#sharedialog a.showCruds {
 	display:inline;
 	opacity:.5;
 }

#sharedialog a.unshare {
 	display:inline;
 	float:right;
 	opacity:.5;
 	padding:.3em 0 0 .3em !important;
 }

#sharedialog #link {
 	padding-top:.5em;
 }

#sharedialog #link button {
   padding: 0px; 
}
#sharedialog #expirationDate {
   width: 1px;
}

#sharedialog #link #resetExpDate {
   margin-left: 1px;
   display: none; 
}

#sharedialog #settings {
   margin: 0.5em 0;
}

#sharedialog form {
    font-size: 100%;
    margin-left: 0;
    margin-right: 0;
}

#sharedialog #link #showPassword img {
 	padding-left:.3em;
 	width:12px;
}

#sharedialog .reshare,#link label,#expiration label {
 	padding-left:0em;
}

#sharedialog a.showCruds:hover,a.unshare:hover {
 	opacity:1;
}

/* fix shared by text going out of box */
#sharedialog .reshare { 
   white-space:normal; 
}

#sharedialog .ui-autocomplete { /* limit sharedialog height to 4 1/2 entries */
	max-height:103px;
	overflow-y:auto;
	overflow-x:hidden;
}


/***
***
new share resume dialog 2013.6.14
***
***/
.sharedialogbox {
   padding-top:5px;
}
.sharedialogbox .sharedialog_inner {
   margin-bottom:10px;
}
.sharedialogbox .sharedialog_inner input[type="text"],.sharedialogbox .sharedialog_inner textarea {
   width:340px;
   font-size:12px;
}
.sharedialogbox .sharedialog_inner span {
   color:#666666;
   vertical-align:top;
   display:inline-block;
   padding-top:5px;
}
.sharedialogbox .sharedialog_inner input[type="submit"] {
   color:#ffffff;
   padding:2px 5px;
}
.sharedialogbox .lastbtnbox {
   text-align:right;
   padding-right:10px;
   padding-top:5px;
}
.sharedialogbox .lastbtnbox a {
   margin-left:10px;
}
.bold #shareresumedialog {
   font-weight:normal;
}
.sharedialogbox b {
   color:#333333;
   font-size:14px;
}
.sharedialogbox .smalltexttip {
   color:#999;
}
.sharedialogbox #shareWithList {
   margin:4px 0 0 0;
   float:left;
}
.sharedialogbox #shareWithList li {
   list-style:none;
   width:353px;
   padding:0px 0 5px 0;
   margin-bottom:6px;
   border-bottom:1px dotted #dddddd;
}
.sharedialogbox #shareWithList a.subaccount {
   margin-bottom:0px;
   display:inline-block;
   border:1px solid #dadada;	
   border-radius:3px;	
   padding:0px 6px;	
   background-color:#f3f3f3;
   font-weight:normal;
   color:#333333;
}
.sharedialogbox #shareWithList a.unshare {
   height:22px;
   font-size:12px;
   color:#005D78;
   display:inline-block;
   margin-left:5px;
   vertical-align:middle;
}
.sharedialogbox #shareWithList a.unshare i {
   height:8px;
   width:12px;
   background:url(/images/3/hr_comicon.png) -139px -470px no-repeat;
   display:inline-block;
   vertical-align:middle;
}
.sharedialogbox #sharedemailList {
   margin-left:0px;
   margin-top:4px;
   float:left;
}
.sharedialogbox #sharedemailList li {
   list-style:none;
   width:341px;
   padding:0px 0 5px 0;
   margin-bottom:6px;
   border-bottom:1px dotted #dddddd;
}
.sharedialogbox #sharedemailList a.subaccount {
   margin-bottom:0px;
   display:inline-block;
   border:1px solid #dadada;	
   border-radius:3px;	
   padding:0px 8px;	
   background-color:#f3f3f3;
   font-weight:normal;
   color:#666666;
}
.sharedialogbox #sharedemailList a.unshare {
   height:25px;
   font-size:12px;
   color:#005D78;
   display:inline-block;
   margin-left:5px;
   vertical-align:middle;
}
